﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Reset.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Style.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Style1.css")" rel="stylesheet" type="text/css" />
    @RenderSection("headaddon", required:false)
</head>
<body>
    <div class="wrapper">
        <div id="header">
            <div id="header-inner">
                    @* no login for error page *@
	            <a href="/" title="@ViewBag.Title" id="logo">&nbsp;</a>
            </div> @* header-inner (end) *@
            <div id="menu-wrapper">
                @{
                    var values = new RouteValueDictionary();
                    @* Error model does not contain short name
                    if (@Model != null)
                    {
                        values["eventName"] = @Model.EventShortName;
                    }
                    *@
                    IDictionary<string, object> attributes = new Dictionary<string, object>();
                }
                <ul id="menu">
                    <li class="menu-home">@Html.ActionLink("Home", "Index", "Home", @values, @attributes)</li>
                </ul>
            </div> @* menu-wrapper (end) *@
        </div> @* header (end) *@
        <div id="main">
            <div id="main-inner">
                <div id="content">
                    @RenderBody()
                </div>
            </div> @* main-inner (end) *@
        </div> @* main (end) *@
        <div id="footer">
        </div>
    </div> @* wrapper (end) *@
</body>
</html>
